import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserV1Controller } from './user.v1.controller';
import { UserV1MobileController } from './user.v1-mobile.controller';
import { UserV1AdminController } from './user.v1-admin.controller';
import { UserModel } from './user.model';
import { UserService } from './user.service';
import { UserLoginLogModel } from '@/module/user-login-log/user-login-log.model';
import { WxModule } from "@/module/wx/wx.module";
import { UserV1OpenapiController } from './user.v1-openapi.controller';

@Module({
  imports: [
    TypeOrmModule.forFeature([UserModel, UserLoginLogModel]),
    WxModule,
  ],
  controllers: [UserV1Controller, UserV1MobileController, UserV1AdminController, UserV1OpenapiController],
  providers: [UserService],
})
export class UserModule {}
